﻿using System;
using Castle.ActiveRecord;
using CostTrade.Core.Data;
using Natrue.Data.FastMapping;

namespace CostTrade.BusinessLayer
{
    [ActiveRecord("tbClient"),Serializable]
    public class Client : CBBase
    {
        private readonly Guid primaryKey = Guid.NewGuid();
        [PrimaryKey(PrimaryKeyType.Assigned, "ROWGUID", Access = PropertyAccess.NosetterCamelcase), Mark("")]
        public override Guid PrimaryKey
        {
            get { return primaryKey; }
        }
    }
}